package cn.zn.modules.loan.old.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * 
 * @author zn
 * @email zhunahao@qq.com
 * @date 2020-05-11 09:11:48
 */
@Data
@TableName("t_loan_detail")
public class TLoanDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId("ID_")
	private String id;
	/**
	 * 
	 */
	@TableField("CREATE_TIME_")
	private LocalDateTime createTime;
	/**
	 * 
	 */
	@TableField("CREATE_USER_ID_")
	private String createUserId;
	/**
	 * 
	 */
	@TableField("IS_ACTIVE_")
	private Boolean isActive;
	/**
	 * 
	 */
	@TableField("REMARK_")
	private String remark;
	/**
	 * 
	 */
	@TableField("SORT_NUM_")
	private Integer sortNum;
	/**
	 * 
	 */
	@TableField("UPDATE_TIME_")
	private LocalDateTime updateTime;
	/**
	 * 
	 */
	@TableField("UPDATE_USER_ID_")
	private String updateUserId;
	/**
	 * 
	 */
	@TableField("VERSION_")
	private Integer version;
	/**
	 * 借款信息
	 */
	@TableField("LOAN_INFO_ID_")
	private String loanInfoId;
	/**
	 * 借款类型:1-借款（金额为负）；2-还款
	 */
	@TableField("LOAN_TYPE_")
	private String loanType;
	/**
	 * 单据号：类型为1时，记录借款单据号；类型为2时，记录还的是哪个借款单据号
	 */
	@TableField("APPLY_CODE_")
	private String applyCode;
	/**
	 * 金额
	 */
	@TableField("LOAN_AMOUNT_")
	private Double loanAmount;
	/**
	 * 打款类型：1－现金；2－非现金；
	 */
	@TableField("MONEY_TYPE_")
	private String moneyType;
	/**
	 * 是否处理
	 */
	@TableField("IS_DEAL_")
	private Boolean isDeal;
	/**
	 * 处理人员编号
	 */
	@TableField("DEAL_USER_ID_")
	private String dealUserId;
	/**
	 * 处理人员工号
	 */
	@TableField("DEAL_USER_NO_")
	private String dealUserNo;
	/**
	 * 处理人员姓名
	 */
	@TableField("DEAL_USER_NAME_")
	private String dealUserName;
	/**
	 * 处理时间
	 */
	@TableField("DEAL_TIME_")
	private LocalDateTime dealTime;

}
